using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Schema;
using System.Xml.Linq;
using System.Xml;

namespace CodeGenerationPipelineInterface
{
    public interface IXmlElement
    {
        IXmlDocument Document { get; set; }
        string ElementName { get; }
        string DebugInfo { get; }
        bool Validate(object sender, ValidationEventHandler handler);
        void Read(XNode node);
        void Write(XNode parentNode, XNamespace elementNamespace);
        void Write(XDocument document, XmlNamespaceManager namespaces);
   }
}
